# -*- coding: utf-8 -*-
# __author__ = 'xxx'
# env:
# fuction: 模仿浏览器post需求信息，并读取返回后的页面信息


import urllib3 
import json
#urllib3学习

# 创建一个管理池

http = urllib3.PoolManager()
requse = http.request('GET','http://www.ifeng.com')
print requse.data

#request 请求返回的内容 data 、status 、header

#print header

print requse.headers
print requse.status

# http://cuiqingcai.com/927.html
# https://urllib3.readthedocs.io/en/latest/user-guide.html
